﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Channels;
using GameManagerService;
using frag_boardgame;

namespace GameClient
{
    class Program
    {
        static void Main(string[] args)
        {
            /*TODO: Rewrite...
           ChannelFactory<IGameService> pipeFactory = new ChannelFactory<IGameService>(new NetNamedPipeBinding(), new EndpointAddress("net.pipe://localhost/PipeGame"));
            IGameService pipeProxy = pipeFactory.CreateChannel();
          
          
            string command = Console.ReadLine();
            if (command == "new")
            {
          
                pipeProxy.StartNewGame();
                Game game = pipeProxy.GetGame();
                ConsoleUI.Run(game);
            }
            else
           {

                Game game = pipeProxy.GetGame();
                ConsoleUI.toShow = ToShow.Game;
            }
             * */
           
            
            
        }
    }
}
